Examples of operands

Operands can have a specific value or a range of values, depending on the type of operator that is selected.

In this first example, an administrator wants to automatically limit search results to only items owned by the Main Library branch. To create the operand, the administrator selects the search field, operator, and the value as follows.

Field: LIBRARY
Operator: =
Value: Main Library

In this next example, an administrator wants to make available to patrons an optional search limit that limits the search results to materials published in 1990 or later. To create the operand, the administrator selects the search field and operator, and specifies the value as follows.

Field: PUBDATE
Operator: >=
Value: 1990

In this final example, an administrator wants to make available to patrons an optional search limit that will limit search results to materials with reading levels from level 4 through level 6. Since none of the available selections in the Operator field correspond to “from x through y,” the administrator must build an expression that contains two operands joined by an expression operator. The administrator must create the two operands before creating an expression using the two operands. In this example, the administrator creates the two operands as follows.

Field: READING_LEVEL
Operator: >=
Value: 4

Field: READING_LEVEL
Operator:<=
Value: 6

Refer to Examples of simple and complex expressions to continue this example and see how to create an expression with the two operands the administrator created for reading levels.

Related topics 

 


© 2008, 2016 SirsiDynix